package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuan_rz
 * @since 2019-01-10
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWEL_T")
public class GwelT extends PO<GwelT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWELENT", type = IdType.INPUT)
    private String GWELENT;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWELDOCDATE;
    private String GWEL001;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEL002;
    private Double GWEL003;
    private Double GWEL004;
    private Double GWEL005;
    private Double GWEL006;
    private Double GWEL007;
    private String GWEL008;
    private String GWEL101;
    private String GWEL102;
    private String GWEL103;
    private String GWEL104;
    private String GWEL105;
    private String GWEL106;
    private String GWEL107;
    private String GWEL108;
    private String GWELPLANT;
    private String GWELLEGAL;
    private String GWELACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWELUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWELGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWELMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWELTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWELDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWELORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWELORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWELENT;
    }

}
